#ifndef _SAMPLE1_BUS_H_
#define _SAMPLE1_BUS_H_
#include "BusLocationManager.h"
#include "BusTimeManager.h"

class Bus : private ManagerBusTime,
			private ManagerBusLocation
{
public:
	explicit Bus();
	/*virtual*/ ~Bus();

	void SetNumber( const int _n ) { m_nNumber = _n; }
	using ManagerBusLocation::SetArriveLoc;
	using ManagerBusTime::SetArriveTimeHour;
	using ManagerBusTime::SetArriveTimeMin;
	using ManagerBusTime::SetLastTimeHour;
	using ManagerBusTime::SetLastTimeMin;

private:
	int m_nNumber;
};

#endif // _SAMPLE1_BUS_H_